const { cart } = require('../models/index')

class CartController {
  async modifyGoodsOfCart(memberId, goodId, count) {
    cart.upsert({ memberId, goodId, count })
    return true
  }
}

module.exports = new CartController()
